<?php
/*!
LogoutController
EXTENDS Zend_Controller_Action

*/
class LogoutController extends Zend_Controller_Action
{

    public function indexAction()
    {
		//! Unsets 'user' namespace.\n
		//! Unsets 'login' namespace.\n
		//! Sets view message.\n
		//! Returns /logout action.\n
		
		Zend_Session::namespaceUnset('user');
		Zend_Session::namespaceUnset('login_session');
		$this->view->message = "You have succesffully logged out.";
    }
}